package admin

import (
	auto "beergo/app/hr/auto/controller"
	"beergo/app/hr/conf"
	"github.com/beego/beego/v2/server/web"
)

type JobAdminController struct {
	auto.JobController
}

func init() {
	web.Router(conf.UrlPrefixAdmin + "/Job/:id", 		&JobAdminController{}, "*:GetAction")
	web.Router(conf.UrlPrefixAdmin + "/Job/info", 		&JobAdminController{}, "*:InfoAction")
	web.Router(conf.UrlPrefixAdmin + "/Job/scan", 		&JobAdminController{}, "*:ScanAction")
	web.Router(conf.UrlPrefixAdmin + "/Job/list", 	    &JobAdminController{}, "*:ListAction")
	web.Router(conf.UrlPrefixAdmin + "/Job/update", 	&JobAdminController{}, "*:UpdateAction")
	web.Router(conf.UrlPrefixAdmin + "/Job/create", 	&JobAdminController{}, "*:CreateAction")
	web.Router(conf.UrlPrefixAdmin + "/Job/copy", 	    &JobAdminController{}, "*:CopyAction")
	web.Router(conf.UrlPrefixAdmin + "/Job/edit", 	    &JobAdminController{}, "*:EditAction")
	web.Router(conf.UrlPrefixAdmin + "/Job/delete", 	&JobAdminController{}, "*:DeleteAction")
	web.Router(conf.UrlPrefixAdmin + "/Job/:id/:field", &JobAdminController{}, "*:SonsAction")
	web.Router(conf.UrlPrefixAdmin + "/Job/choice", &JobAdminController{}, "*:ChoiceAction")
	web.Router(conf.UrlPrefixAdmin + "/Job/category", &JobAdminController{}, "*:CategoryAction")
}
//func (this *JobAdminController) Prepare() {}
//func (this *JobAdminController) ListAction() {}
//func (this *JobAdminController) GetAction() {}
//func (this *JobAdminController) InfoAction() {}
//func (this *JobAdminController) ScanAction() {}
//func (this *JobAdminController) CreateAction() {}
//func (this *JobAdminController) UpdateAction() {}
//func (this *JobAdminController) CopyAction() {}
//func (this *JobAdminController) DeleteAction() {}
//func (this *JobAdminController) EditAction() {}
//func (this *JobAdminController) SonsAction() {}
//func (this *JobAdminController) ChoiceAction() {}
//func (this *JobAdminController) CategoryAction() {}
